﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="HouseInfo.aspx.cs" Inherits="XomTro.HouseInfo" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="css/bootstrap-theme.min.css" />
    <link href="css/demo.css" rel="stylesheet" />
    <script src="https://code.jquery.com/jquery.js" type="text/javascript"></script>
    <script src="js/bootstrap.js" type="text/javascript"></script>
    <script type="text/javascript" src="js/jquery.cycle.all.js"></script>
    <script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false"></script>
    <script>
        // The following example creates a marker in Stockholm, Sweden
        // using a DROP animation. Clicking on the marker will toggle
        // the animation between a BOUNCE animation and no animation.

        var stockholm = new google.maps.LatLng(59.32522, 18.07002);
        var parliament = new google.maps.LatLng(59.327383, 18.06747);
        var marker;
        var map;

        function initialize() {
            var mapOptions = {
                zoom: 13,
                center: stockholm
            };

            map = new google.maps.Map(document.getElementById('map-canvas'),
                    mapOptions);

            marker = new google.maps.Marker({
                map: map,
                draggable: true,
                animation: google.maps.Animation.DROP,
                position: parliament
            });
            google.maps.event.addListener(marker, 'click', toggleBounce);
        }

        function toggleBounce() {

            if (marker.getAnimation() != null) {
                marker.setAnimation(null);
            } else {
                marker.setAnimation(google.maps.Animation.BOUNCE);
            }
        }

        google.maps.event.addDomListener(window, 'load', initialize);

    </script>
    <script>
        $(function () {
            $('#myTab a:first').tab('show')
            $('#myTab1 a:first').tab('show')
        })
    </script>
</head>
<body>
    <form id="form1" runat="server">
        <div class="navbar navbar-inverse navbar-fixed-top" role="navigation">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                        <span class="sr-only">Toggle navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>
                    <a class="navbar-brand" href="Home_Demo2.aspx">XÓM TRỌ</a>
                </div>
                <div class="navbar-collapse collapse">
                    <ul class="nav navbar-nav">
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">VietNam<b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li><a href="#">Distric 1</a></li>

                                <li class="divider"></li>
                                <li><a href="#">Distric 2</a></li>
                                <li class="divider"></li>
                                <li><a href="#">Distric 3</a></li>
                            </ul>
                        </li>

                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">Price <b class="caret"></b></a>
                            <ul class="dropdown-menu">
                                <li>
                                    <div style="display: block; padding: 20px; -moz-box-sizing: border-box;">
                                        <h6>Price</h6>
                                        <div class="price">
                                            <div class="pricebegin"></div>
                                            <div class="priceend"></div>
                                            <div class="priceslide"></div>
                                        </div>
                                    </div>
                                </li>

                                <li class="divider"></li>
                                <li><a href="#">$50 - $100</a></li>
                                <li class="divider"></li>
                                <li><a href="#">More than $100</a></li>
                            </ul>
                        </li>
                    </ul>
                    <div id="searchtop" class="navbar-form navbar-left" role="search">
                        <div class="form-group">
                            <input type="text" class="form-control" placeholder="where are your new home?" style="width: 250px" />
                        </div>
                        <button type="submit" class="btn btn-default">Submit</button>
                    </div>
                    <ul class="nav navbar-nav navbar-right">
                        <li><a href="#">SIGN UP</a></li>
                        <li><a href="#">LOGIN</a></li>
                        <li><a href="#">HELP</a></li>
                    </ul>
                </div>
                <!--/.navbar-collapse -->
            </div>
        </div>
        <div class="housemapmargin">
            <div id="map-canvas" style="height: 299px;box-shadow: 0px 1px 1px white;display: block;"></div>

        </div>
        <div class="hero2" style="background-image: url('IMGS/image7.png')">
            <a href="#" class="houseavamargin">
                <img class="houseavaimg" src="IMGS/ava.jpg" /></a>
            <div class="container">
                <div class="housedetail">

                    <h2>Hoa Hong Hotel</h2>
                    <ul>


                        <li>Price: $500</li>
                        <li>Size: 250 square</li>
                        <li>Room type: Private room</li>
                        <li>Phone number: 01675765706</li>
                        <li>Address: 75 Le Thanh Tong Street, District 1, Ho Chi Minh City</li>
                    </ul>
                </div>
            </div>
        </div>
        <div style="background-color: rgb(250, 250, 250); padding-top: 20px">
            <div class="container ">
                <div class="row">
                    <div class="col-md-8">
                        <div class="housedescription">
                            <ul id="myTab" class="nav nav-tabs">
                                <li class="active"><a href="#description" data-toggle="tab">Description</a></li>
                                <li><a href="#amenities" data-toggle="tab">Amenities</a></li>

                            </ul>
                            <div id="myTabContent" class="tab-content" style="margin-top: 10px">
                                <div id="description" class="tab-pane  active ">
                                    <p>
                                        Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.Raw denim you probably haven't heard of them jean shorts Austin. Nesciunt tofu stumptown aliqua, retro synth master cleanse. Mustache cliche tempor, williamsburg carles vegan helvetica. Reprehenderit butcher retro keffiyeh dreamcatcher synth. Cosby sweater eu banh mi, qui irure terry richardson ex squid. Aliquip placeat salvia cillum iphone. Seitan aliquip quis cardigan american apparel, butcher voluptate nisi qui.
                                    </p>
                                </div>
                                <div id="amenities" class="tab-pane ">
                                    <p>
                                        Food truck fixie locavore, accusamus mcsweeney's marfa nulla single-origin coffee squid. Exercitation +1 labore velit, blog sartorial PBR leggings next level wes anderson artisan four loko farm-to-table craft beer twee. Qui photo booth letterpress, commodo enim craft beer mlkshk aliquip jean shorts ullamco ad vinyl cillum PBR. Homo nostrud organic, assumenda labore aesthetic magna delectus mollit. Keytar helvetica VHS salvia yr, vero magna velit sapiente labore stumptown. Vegan fanny pack odio cillum wes anderson 8-bit, sustainable jean shorts beard ut DIY ethical culpa terry richardson biodiesel. Art party scenester stumptown, tumblr butcher vero sint qui sapiente accusamus tattooed echo park.
                                    </p>
                                </div>

                            </div>
                        </div>
                        <div class="housereviews">
                            <ul id="mytab1" class="nav nav-tabs">
                                <li class="active"><a href="#reviews" data-toggle="tab">Reviews</a></li>


                            </ul>
                            <div class="tab-content" style="margin-top: 10px">
                                <div id="reviews" class="tab-pane  active ">
                                    <div class="media">
                                        <a class="pull-left" href="#">
                                            <img class="media-object" src="IMGS/ava.jpg" width="70" height="70" alt="..." />
                                        </a>
                                        <div class="media-body reviewdetail">
                                            <h4 class="media-heading">So Sweet room</h4>
                                            Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus
                                    <div class="reviewdate">December 2013</div>
                                        </div>
                                    </div>
                                    <div class="media">
                                        <a class="pull-left" href="#">
                                            <img class="media-object" src="IMGS/ava1.jpg" width="70" height="70" alt="..." />
                                        </a>
                                        <div class="media-body reviewdetail">
                                            <h4 class="media-heading">So Sweet room</h4>
                                            Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus
                                     <div class="reviewdate">December 2013</div>
                                        </div>
                                    </div>
                                    <div class="media">
                                        <a class="pull-left" href="#">
                                            <img class="media-object" src="IMGS/ava.jpg" width="70" height="70" alt="..." />
                                        </a>
                                        <div class="media-body reviewdetail">
                                            <h4 class="media-heading">So Sweet room</h4>
                                            Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus
                                      <div class="reviewdate">December 2013</div>
                                        </div>
                                    </div>
                                    <div class="media">
                                        <a class="pull-left" href="#">
                                            <img class="media-object" src="IMGS/ava1.jpg" width="70" height="70" alt="..." />
                                        </a>
                                        <div class="media-body reviewdetail">
                                            <h4 class="media-heading">So Sweet room</h4>
                                            Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus
                                     <div class="reviewdate">December 2013</div>
                                        </div>
                                    </div>
                                    <div class="media">
                                        <a class="pull-left" href="#">
                                            <img class="media-object" src="IMGS/ava.jpg" width="70" height="70" alt="..." />
                                        </a>
                                        <div class="media-body reviewdetail">
                                            <h4 class="media-heading">So Sweet room</h4>
                                            Cras sit amet nibh libero, in gravida nulla. Nulla vel metus scelerisque ante sollicitudin commodo. Cras purus odio, vestibulum in vulputate at, tempus viverra turpis. Fusce condimentum nunc ac nisi vulputate fringilla. Donec lacinia congue felis in faucibus
                                    <div class="reviewdate">December 2013</div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-md-4">
                        <script type="text/javascript">
                            $(document).ready(function () {
                     
                                $('.imgsmall').click(function () {
                                        var img = $(this);
                                        $('#modalDiv img').attr("src", img.attr("src"));
                                    $('#modalBackground').show();
                                    $('#modalDiv').show();
                                        var top = Math.max($(window).height() / 2 - $('#modalDiv')[0].offsetHeight / 2, 0);
                                        var left = Math.max($(window).width() / 2 - $('#modalDiv')[0].offsetWidth / 2, 0);
                                        $('#modalDiv').css('top', top + "px");
                                        $('#modalDiv').css('left', left + "px");
                                });
                                //$('.imgnext').click(function () {
                                //    var nextimg = img.next();
                                //    $('#modalDiv img').attr("src", nextimg.attr("src"));
                                //    $('#modalBackground').show();
                                //    $('#modalDiv').show();
                                //    var top = Math.max($(window).height() / 2 - $('#modalDiv')[0].offsetHeight / 2, 0);
                                //    var left = Math.max($(window).width() / 2 - $('#modalDiv')[0].offsetWidth / 2, 0);
                                //    $('#modalDiv').css('top', top + "px");
                                //    $('#modalDiv').css('left', left + "px");
                                //});
                                $('#thoat').click(function () {
                                    $('#modalBackground').hide();
                                    $('#modalDiv').hide();
                                });
                                $('#modalBackground').click(function () {
                                    $('#modalBackground').hide();
                                    $('#modalDiv').hide();
                                });
                            });
                        </script>
                        <div class="panel panel-default" style="margin-left: 20px">
                            <div class="panel-heading textcenter ">Photos</div>
                            <div class="panel-body" style="list-style: none; text-align: left; margin-left: 15px">
                                <div class="row" style="margin-bottom: 5px">
                                    <img src="IMGS/image1.png" width="150" height="80" class="imgsmall" />
                                    <img src="IMGS/image2.png" width="150" height="80" class="imgsmall"/>
                                </div>

                                <div class="row">
                                    <img src="IMGS/image3.png" width="150" height="80" class="imgsmall"/>
                                    <img src="IMGS/image4.png" width="150" height="80" class="imgsmall"/>
                                </div>
                            </div>
                            <div class="showallphoto">
                                <a style="text-decoration: none; cursor: pointer">
                                    <h3 class="panel-title textcenter1">Show all photos</h3>
                                </a>
                            </div>
                        </div>
                        <div class="panel panel-default" style="margin-left: 20px">
                            <div class="panel-heading textcenter ">Similar Listing</div>
                            <ul class="panel-body panel-body-croll">
                                <li class="media mgtf">
                                    <a class="pull-left" href="#">
                                        <img class="media-object" width="120" height="80" src="IMGS/image2.png" alt="..." />
                                    </a>
                                    <div class="media-body">
                                        <h4 class="media-heading">White House</h4>
                                        <p>0.6mi away </p>
                                        <p>$400</p>
                                    </div>
                                </li>
                                <li class="media mgtf">
                                    <a class="pull-left" href="#">
                                        <img class="media-object" width="120" height="80" src="IMGS/image1.png" alt="..." />
                                    </a>
                                    <div class="media-body">
                                        <h4 class="media-heading">White House</h4>
                                        <p>0.6mi away </p>
                                        <p>$400</p>
                                    </div>
                                </li>
                                <li class="media mgtf ">
                                    <a class="pull-left" href="#">
                                        <img class="media-object" width="120" height="80" src="IMGS/image5.jpg" alt="..." />
                                    </a>
                                    <div class="media-body">
                                        <h4 class="media-heading">White House</h4>
                                        <p>0.6mi away </p>
                                        <p>$400</p>
                                    </div>
                                </li>
                                <li class="media mgtf">
                                    <a class="pull-left" href="#">
                                        <img class="media-object" width="120" height="80" src="IMGS/image2.png" alt="..." />
                                    </a>
                                    <div class="media-body">
                                        <h4 class="media-heading">White House</h4>
                                        <p>0.6mi away </p>
                                        <p>$400</p>
                                    </div>
                                </li>
                            </ul>
                        </div>
                        <div class="panel panel-default" style="margin-left: 20px">
                            <div class="panel-heading textcenter">Nearly Utilities</div>
                            <ul class="panel-body panel-body-croll">
                                <li class="media mgtf">
                                    <a class="pull-left" href="#">
                                        <img class="media-object" width="120" height="80" src="IMGS/diamond.jpg" alt="..." />
                                    </a>
                                    <div class="media-body">
                                        <h4 class="media-heading">Diamond</h4>
                                        <p>0.6mi away </p>

                                    </div>
                                </li>
                                <li class="media mgtf">
                                    <a class="pull-left" href="#">
                                        <img class="media-object" width="120" height="80" src="IMGS/chobenthanh.jpg" alt="..." />
                                    </a>
                                    <div class="media-body">
                                        <h4 class="media-heading">Ben Thanh market</h4>
                                        <p>0.6mi away </p>

                                    </div>
                                </li>
                                <li class="media mgtf ">
                                    <a class="pull-left" href="#">
                                        <img class="media-object" width="120" height="80" src="IMGS/30_4.jpg" alt="..." />
                                    </a>
                                    <div class="media-body">
                                        <h4 class="media-heading">30/4 City Park</h4>
                                        <p>0.6mi away </p>

                                    </div>
                                </li>
                                <li class="media mgtf">
                                    <a class="pull-left" href="#">
                                        <img class="media-object" width="120" height="80" src="IMGS/diamond.jpg" alt="..." />
                                    </a>
                                    <div class="media-body">
                                        <h4 class="media-heading">Diamond</h4>
                                        <p>0.6mi away </p>

                                    </div>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
            <div id="modalDiv">
                <a href="javascript:;" id="imgpre" class="imgpre"></a>
                <a href="javascript:;" id="imgnext" class="imgnext"></a>
                <a id="thoat" class="thoat" href="javascript:;">x</a>
                <div class="image">
                    <img alt="" src="" />
                </div>

            </div>
            <div id="modalBackground"></div>
        </div>
    </form>
</body>
</html>
